package yanjunwei.rbac.domain.entity;

import yanjunwei.rbac.domain.enums.RoleDataScope;

import java.time.LocalDateTime;

public class Role extends BaseEntity {


    public String name;

    public RoleDataScope dataScope;

public Role(){}

    public Role(Integer id, LocalDateTime createAt, LocalDateTime updateAt, String name, RoleDataScope dataScope) {
        super(id, createAt, updateAt);
        this.name = name;
        this.dataScope = dataScope;
    }
}
